package com.san.oms.service;

import java.util.List;
import java.util.Map;

import com.san.base.domain.Tree;
import com.san.base.service.BaseService;
import com.san.oms.domain.QuotaDO;

/**
 * 监测模型服务接口
 * @author Administrator
 *
 */
public interface QuotaService extends BaseService {
	
	/**
	 * 获取所有模型指标
	 * @return
	 */
	public List<QuotaDO> getQuotaList(Long modelId) throws Exception;
	
	/**
	 * 查找模型指标
	 * @param condition
	 * @return
	 * @throws Exception
	 */
	public List<QuotaDO> findQuotaList(Map<String,Object> condition) throws Exception;
	
	/**
	 * 获取指标子集
	 * @param modelId
	 * @param parentId
	 * @return
	 * @throws Exception
	 */
	public  List<QuotaDO> findSubset(Long modelId, Long parentId) throws Exception;
	
	/**
	 * 获取指标树
	 * @return
	 */
	public Tree<QuotaDO> getQuotaTree() throws Exception;

}
